function loadHomePage() {
    $("#mainDiv").load("pageParts/homePage.html");
}


function menuButtonHomeAction() {
    loadHomePage();
}

function loadCheckCreditPage() {
    $("#mainDiv").load("pageParts/creditCheckPage.html");
}


function menuButtonCheckCreditAction() {
    loadCheckCreditPage();
}

function loadLoginPage() {
    $("#mainDiv").load("pageParts/loginPage.html");
}


function menuButtonLoginAction() {
    loadLoginPage();
}

function loadAboutPage() {
    $("#mainDiv").load("pageParts/aboutPage.html");
}


function menuButtonAboutAction() {
    loadAboutPage();
}

function loadRegisterPage(){
    $("#mainDiv").load("pageParts/registerPage.html");
}